package com.smart.community.work.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 安保事件视图对象
 * 
 * @author Wu.Liang
 * @since 2025-01-30
 * @version 1.0.0
 */
@Data
@Schema(description = "安保事件视图对象")
public class SecurityEventVO {

    @Schema(description = "事件ID")
    private Long id;

    @Schema(description = "事件标题")
    private String eventTitle;

    @Schema(description = "事件描述")
    private String eventDescription;

    @Schema(description = "事件类型")
    private String eventType;

    @Schema(description = "事件级别：1-低，2-中，3-高，4-紧急")
    private Integer eventLevel;

    @Schema(description = "事件状态：0-待处理，1-处理中，2-已解决，3-已关闭")
    private Integer status;

    @Schema(description = "状态描述")
    private String statusDesc;

    @Schema(description = "发生时间")
    private LocalDateTime eventTime;

    @Schema(description = "发生地点")
    private String eventLocation;

    @Schema(description = "报告人ID")
    private Long reporterId;

    @Schema(description = "报告人姓名")
    private String reporterName;

    @Schema(description = "处理人ID")
    private Long handlerId;

    @Schema(description = "处理人姓名")
    private String handlerName;

    @Schema(description = "处理结果")
    private String handleResult;

    @Schema(description = "处理时间")
    private LocalDateTime handleTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建人ID")
    private Long createBy;

    @Schema(description = "更新人ID")
    private Long updateBy;

    @Schema(description = "物业公司ID")
    private Long propertyCompanyId;

    @Schema(description = "物业公司名称")
    private String propertyCompanyName;
}
